<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="ChequesRecebidosViewDlg" widgetVar="ChequesRecebidosViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewChequesRecebidosTitle}">
            <h:form id="ChequesRecebidosViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{chequesRecebidosController.selected != null}">
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_id}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.id}" title="#{bundle.ViewChequesRecebidosTitle_id}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_numero}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.numero}" title="#{bundle.ViewChequesRecebidosTitle_numero}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_tipoCheque}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.tipoCheque}" title="#{bundle.ViewChequesRecebidosTitle_tipoCheque}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_valor}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.valor}" title="#{bundle.ViewChequesRecebidosTitle_valor}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_cpfCnpj}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.cpfCnpj}" title="#{bundle.ViewChequesRecebidosTitle_cpfCnpj}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_observacao}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.observacao}" title="#{bundle.ViewChequesRecebidosTitle_observacao}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_dataCadastramento}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.dataCadastramento}" title="#{bundle.ViewChequesRecebidosTitle_dataCadastramento}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_dataLancamento}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.dataLancamento}" title="#{bundle.ViewChequesRecebidosTitle_dataLancamento}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_dataDesconto}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.dataDesconto}" title="#{bundle.ViewChequesRecebidosTitle_dataDesconto}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_dataModificacao}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.dataModificacao}" title="#{bundle.ViewChequesRecebidosTitle_dataModificacao}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_fundo}"/>
                        <p:selectBooleanCheckbox value="#{chequesRecebidosController.selected.fundo}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_baixado}"/>
                        <p:selectBooleanCheckbox value="#{chequesRecebidosController.selected.baixado}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_repassado}"/>
                        <p:selectBooleanCheckbox value="#{chequesRecebidosController.selected.repassado}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_cliente}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.cliente.toString()}" title="#{bundle.ViewChequesRecebidosTitle_cliente}"/>
                        <h:outputText value="#{bundle.ViewChequesRecebidosLabel_banco}"/>
                        <h:outputText value="#{chequesRecebidosController.selected.banco.toString()}" title="#{bundle.ViewChequesRecebidosTitle_banco}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="ChequesRecebidosViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
